<?php
//if ( function_exists('register_sidebar') )
//    register_sidebar();
?>
<?php
if ( function_exists('register_sidebar') )
    register_sidebar(array(
        'before_widget' => '<div class="block"><ul>',
        'after_widget' => '</ul></div>',
        'before_title' => '',
        'after_title' => '',
    ));
?>
<?php
/*
File Name: Wordpress Theme Toolkit
Version: 1.0
Author: Ozh
Author URI: http://planetOzh.com/
*/

/************************************************************************************
 * THEME USERS : don't touch anything !! Or don't ask the theme author for support :)
 ************************************************************************************/

include(dirname(__FILE__).'/themetoolkit.php');

/************************************************************************************
 * THEME AUTHOR : edit the following function call :
 ************************************************************************************/

themetoolkit(
	'mw',
	array(
		'posts' => 'For front page, archives, search... {radio|full|Show full text|summary|Show summary} ##',
		'post' => 'For single posts... {checkbox|post|1|Show summary at the top} ##',
		'scheme' => 'Choose a color scheme {radio|015|<span style="background: #BA7E5E; color: #BA7E5E; padding: 1px 20px">Choose me</span>|030|<span style="background: #BA9F5E; color: #BA9F5E; padding: 1px 20px">Choose me</span>|045|<span style="background: #B5BA5E; color: #B5BA5E; padding: 1px 20px">Choose me</span>|060|<span style="background: #94BA5E; color: #94BA5E; padding: 1px 20px">Choose me</span>|075|<span style="background: #74BA5E; color: #74BA5E; padding: 1px 20px">Choose me</span>|090|<span style="background: #5EBA69; color: #5EBA69; padding: 1px 20px">Choose me</span>|105|<span style="background: #5EBA89; color: #5EBA89; padding: 1px 20px">Choose me</span>|120|<span style="background: #5EBAAA; color: #5EBAAA; padding: 1px 20px">Choose me</span>|135|<span style="background: #5EAABA; color: #5EAABA; padding: 1px 20px">Choose me</span>|150|<span style="background: #5E89BA; color: #5E89BA; padding: 1px 20px">Choose me</span>|165|<span style="background: #5E69BA; color: #5E69BA; padding: 1px 20px">Choose me</span>|180|<span style="background: #745EBA; color: #745EBA; padding: 1px 20px">Choose me</span>|195|<span style="background: #945EBA; color: #945EBA; padding: 1px 20px">Choose me</span>|210|<span style="background: #B55EBA; color: #B55EBA; padding: 1px 20px">Choose me</span>|225|<span style="background: #BA5E9F; color: #BA5E9F; padding: 1px 20px">Choose me</span>|240|<span style="background: #BA5E7E; color: #BA5E7E; padding: 1px 20px">Choose me</span>|255|<span style="background: #BA5E5E; color: #BA5E5E; padding: 1px 20px">Choose me</span>} ##',
		'trackbacks' => 'Choose a background color for trackbacks {radio|015|<span style="background: #EBE5E1; color: #EBE5E1; border: 1px solid #E3DAD5; padding: 0px 19px">Choose me</span>|030|<span style="background: #EBE8E1; color: #EBE8E1; border: 1px solid #E3DFD5; padding: 0px 19px">Choose me</span>|045|<span style="background: #EAEBE1; color: #EAEBE1; border: 1px solid #E2E3D5; padding: 0px 19px">Choose me</span>|060|<span style="background: #E7EBE1; color: #E7EBE1; border: 1px solid #DDE3D5; padding: 0px 19px">Choose me</span>|075|<span style="background: #E3EBE1; color: #E3EBE1; border: 1px solid #D8E3D5; padding: 0px 19px">Choose me</span>|090|<span style="background: #E1EBE2; color: #E1EBE2; border: 1px solid #D5E3D7; padding: 0px 19px">Choose me</span>|105|<span style="background: #E1EBE6; color: #E1EBE6; border: 1px solid #D5E3DC; padding: 0px 19px">Choose me</span>|120|<span style="background: #E1EBE9; color: #E1EBE9; border: 1px solid #D5E3E1; padding: 0px 19px">Choose me</span>|135|<span style="background: #E1E9EB; color: #E1E9EB; border: 1px solid #D5E1E3; padding: 0px 19px">Choose me</span>|150|<span style="background: #E1E6EB; color: #E1E6EB; border: 1px solid #D5DCE3; padding: 0px 19px">Choose me</span>|165|<span style="background: #E1E2EB; color: #E1E2EB; border: 1px solid #D5D7E3; padding: 0px 19px">Choose me</span>|180|<span style="background: #E3E1EB; color: #E3E1EB; border: 1px solid #D8D5E3; padding: 0px 19px">Choose me</span>|195|<span style="background: #E7E1EB; color: #E7E1EB; border: 1px solid #DDD5E3; padding: 0px 19px">Choose me</span>|210|<span style="background: #EAE1EB; color: #EAE1EB; border: 1px solid #E2D5E3; padding: 0px 19px">Choose me</span>|225|<span style="background: #EBE1E8; color: #EBE1E8; border: 1px solid #E3D5DF; padding: 0px 19px">Choose me</span>|240|<span style="background: #EBE1E5; color: #EBE1E5; border: 1px solid #E3D5DA; padding: 0px 19px">Choose me</span>|255|<span style="background: #EBE1E1; color: #EBE1E1; border: 1px solid #E3D5D5; padding: 0px 19px">Choose me</span>} ##',
	),
	__FILE__
);

/************************************************************************************
 * THEME AUTHOR : Congratulations ! The hard work is all done now :)
 *
 * From now on, you can create functions for your theme that will use the array
 * of variables $mytheme->option. For example there will be now a variable
 * $mytheme->option['your_age'] with value as set by theme end-user in the admin menu.
 ************************************************************************************/

/***************************************
 * Additionnal Features and Functions
 *
 * Create your own functions using the array
 * of user defined variables $mytheme->option.
 *
 **************************************/

function posts_mode() {
	global $mw;
	return $mw->option['posts'];
}
function post_excerpt() {
	global $mw;
	return $mw->option['post'];
}
function color_scheme() {
	global $mw;
	return $mw->option['scheme'];
}
function trackbacks_color() {
	global $mw;
	return $mw->option['trackbacks'];
}

?>
